<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.3"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SSDP Help: ATFontNumMap</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">SSDP Help<span id="projectnumber">&#160;2.04.01</span>
   </div>
   <div id="projectbrief">仅供测试</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.3 -->
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('../../',false,false,'search.php','搜索');
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-static-methods">静态 Public 成员函数</a> &#124;
<a href="../../d3/dfb/struct_a_t_font_num_map-members.html">所有成员列表</a>  </div>
  <div class="headertitle"><div class="title">ATFontNumMap<span class="mlabels"><span class="mlabel">abstract</span></span></div></div>
</div><!--header-->
<div class="contents">

<p>字体编号字典  
 <a href="../../dc/dab/struct_a_t_font_num_map.html#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="../../d3/dc2/_a_t_font_manager_8h_source.html">ATFontManager.h</a>&gt;</code></p>

<p>继承自 RefCountedBase .</p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:ae70d14a0853b738d7cddf811fa24d2d0"><td class="memItemLeft" align="right" valign="top"><a id="ae70d14a0853b738d7cddf811fa24d2d0" name="ae70d14a0853b738d7cddf811fa24d2d0"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>ATFontNumMap</b> (ATProjectR)</td></tr>
<tr class="separator:ae70d14a0853b738d7cddf811fa24d2d0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a006bd1c74ea32f08ad6ea2ea54a2ab14"><td class="memItemLeft" align="right" valign="top"><a id="a006bd1c74ea32f08ad6ea2ea54a2ab14" name="a006bd1c74ea32f08ad6ea2ea54a2ab14"></a>
ATDATACORE_EXPORT void&#160;</td><td class="memItemRight" valign="bottom"><b>ResolveRenderFonts</b> (ATFontCP &amp;font, UInt32 fontNum, ATFontCP &amp;bigFont, UInt32 bigFontNum)</td></tr>
<tr class="separator:a006bd1c74ea32f08ad6ea2ea54a2ab14"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac647fa7ae89090399aaf9c1487bf8a1f"><td class="memItemLeft" align="right" valign="top"><a id="ac647fa7ae89090399aaf9c1487bf8a1f" name="ac647fa7ae89090399aaf9c1487bf8a1f"></a>
ATDATACORE_EXPORT void&#160;</td><td class="memItemRight" valign="bottom"><b>SaveFontTable</b> (bool force)</td></tr>
<tr class="separator:ac647fa7ae89090399aaf9c1487bf8a1f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adb1e51e5ab32c302f3e9da9483117b44"><td class="memItemLeft" align="right" valign="top"><a id="adb1e51e5ab32c302f3e9da9483117b44" name="adb1e51e5ab32c302f3e9da9483117b44"></a>
ATDATACORE_EXPORT void&#160;</td><td class="memItemRight" valign="bottom"><b>LoadFromFontTable</b> ()</td></tr>
<tr class="separator:adb1e51e5ab32c302f3e9da9483117b44"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7e0350c766fc99f68574957c129f1e22"><td class="memItemLeft" align="right" valign="top">ATDATACORE_EXPORT ATFontP&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/dab/struct_a_t_font_num_map.html#a7e0350c766fc99f68574957c129f1e22">GetFontP</a> (UInt32 fontNum)</td></tr>
<tr class="memdesc:a7e0350c766fc99f68574957c129f1e22"><td class="mdescLeft">&#160;</td><td class="mdescRight">查找给定字号的字体，找不到时返回NULL  <a href="../../dc/dab/struct_a_t_font_num_map.html#a7e0350c766fc99f68574957c129f1e22">更多...</a><br /></td></tr>
<tr class="separator:a7e0350c766fc99f68574957c129f1e22"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9148ba01beef2604bacb0fda856923b4"><td class="memItemLeft" align="right" valign="top">ATDATACORE_EXPORT ATFontR&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/dab/struct_a_t_font_num_map.html#a9148ba01beef2604bacb0fda856923b4">ResolveFont</a> (UInt32 fontNum)</td></tr>
<tr class="memdesc:a9148ba01beef2604bacb0fda856923b4"><td class="mdescLeft">&#160;</td><td class="mdescRight">查找给定字号的字体，找不到时返回默认字体  <a href="../../dc/dab/struct_a_t_font_num_map.html#a9148ba01beef2604bacb0fda856923b4">更多...</a><br /></td></tr>
<tr class="separator:a9148ba01beef2604bacb0fda856923b4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a48fd8b7563826b6bb7c201490e864633"><td class="memItemLeft" align="right" valign="top">ATDATACORE_EXPORT StatusInt&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/dab/struct_a_t_font_num_map.html#a48fd8b7563826b6bb7c201490e864633">GetFontNumber</a> (UInt32 &amp;fontNum, ATFontCR font, bool addIfNotFound)</td></tr>
<tr class="memdesc:a48fd8b7563826b6bb7c201490e864633"><td class="mdescLeft">&#160;</td><td class="mdescRight">查找给定字体的字号，可选的当字体不存在时加入表格  <a href="../../dc/dab/struct_a_t_font_num_map.html#a48fd8b7563826b6bb7c201490e864633">更多...</a><br /></td></tr>
<tr class="separator:a48fd8b7563826b6bb7c201490e864633"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae8e7f4d567a480856370890d94fa2ce9"><td class="memItemLeft" align="right" valign="top">ATDATACORE_EXPORT bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/dab/struct_a_t_font_num_map.html#ae8e7f4d567a480856370890d94fa2ce9">VisitFonts</a> (ATFontVisitor &amp;visitor, ATFontFilter filter)</td></tr>
<tr class="memdesc:ae8e7f4d567a480856370890d94fa2ce9"><td class="mdescLeft">&#160;</td><td class="mdescRight">访问表格中的所有字体  <a href="../../dc/dab/struct_a_t_font_num_map.html#ae8e7f4d567a480856370890d94fa2ce9">更多...</a><br /></td></tr>
<tr class="separator:ae8e7f4d567a480856370890d94fa2ce9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a99d9c1a427a9dd6f5bfbd1e6c9bc2e3b"><td class="memItemLeft" align="right" valign="top">ATDATACORE_EXPORT ATFontP&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/dab/struct_a_t_font_num_map.html#a99d9c1a427a9dd6f5bfbd1e6c9bc2e3b">FindFontByName</a> (UInt32 *foundNum, WCharCP fontName, ATFontFilter filter=ATFontFilter::Normal)</td></tr>
<tr class="memdesc:a99d9c1a427a9dd6f5bfbd1e6c9bc2e3b"><td class="mdescLeft">&#160;</td><td class="mdescRight">通过名称查找字体  <a href="../../dc/dab/struct_a_t_font_num_map.html#a99d9c1a427a9dd6f5bfbd1e6c9bc2e3b">更多...</a><br /></td></tr>
<tr class="separator:a99d9c1a427a9dd6f5bfbd1e6c9bc2e3b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af5bf152e533b348dce75cf681e0667f3"><td class="memItemLeft" align="right" valign="top">ATDATACORE_EXPORT ATFontListPtr&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/dab/struct_a_t_font_num_map.html#af5bf152e533b348dce75cf681e0667f3">CreateUsedFontList</a> (ATFontFilter filter=ATFontFilter::Normal)</td></tr>
<tr class="memdesc:af5bf152e533b348dce75cf681e0667f3"><td class="mdescLeft">&#160;</td><td class="mdescRight">使用表格中的字体创建字体列表  <a href="../../dc/dab/struct_a_t_font_num_map.html#af5bf152e533b348dce75cf681e0667f3">更多...</a><br /></td></tr>
<tr class="separator:af5bf152e533b348dce75cf681e0667f3"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-static-methods" name="pub-static-methods"></a>
静态 Public 成员函数</h2></td></tr>
<tr class="memitem:ae4302ec23727de177198df1b614769b8"><td class="memItemLeft" align="right" valign="top"><a id="ae4302ec23727de177198df1b614769b8" name="ae4302ec23727de177198df1b614769b8"></a>
static ATFontNumMapPtr&#160;</td><td class="memItemRight" valign="bottom"><b>Create</b> (ATProjectR)</td></tr>
<tr class="separator:ae4302ec23727de177198df1b614769b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p >字体编号字典 </p>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/28 </dd></dl>
</div><h2 class="groupheader">成员函数说明</h2>
<a id="af5bf152e533b348dce75cf681e0667f3" name="af5bf152e533b348dce75cf681e0667f3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af5bf152e533b348dce75cf681e0667f3">&#9670;&nbsp;</a></span>CreateUsedFontList()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ATDATACORE_EXPORT ATFontListPtr ATFontNumMap::CreateUsedFontList </td>
          <td>(</td>
          <td class="paramtype">ATFontFilter&#160;</td>
          <td class="paramname"><em>filter</em> = <code>ATFontFilter::Normal</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>使用表格中的字体创建字体列表 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">ATFontFilter</td><td>filter </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ATDATACORE_EXPORT ATFontListPtr</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/13 </dd></dl>

</div>
</div>
<a id="a99d9c1a427a9dd6f5bfbd1e6c9bc2e3b" name="a99d9c1a427a9dd6f5bfbd1e6c9bc2e3b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a99d9c1a427a9dd6f5bfbd1e6c9bc2e3b">&#9670;&nbsp;</a></span>FindFontByName()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ATDATACORE_EXPORT ATFontP ATFontNumMap::FindFontByName </td>
          <td>(</td>
          <td class="paramtype">UInt32 *&#160;</td>
          <td class="paramname"><em>foundNum</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">WCharCP&#160;</td>
          <td class="paramname"><em>fontName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">ATFontFilter&#160;</td>
          <td class="paramname"><em>filter</em> = <code>ATFontFilter::Normal</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>通过名称查找字体 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">UInt32</td><td>* foundNum </td></tr>
    <tr><td class="paramname">WCharCP</td><td>fontName </td></tr>
    <tr><td class="paramname">ATFontFilter</td><td>filter </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ATDATACORE_EXPORT ATFontP</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/13 </dd></dl>

</div>
</div>
<a id="a48fd8b7563826b6bb7c201490e864633" name="a48fd8b7563826b6bb7c201490e864633"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a48fd8b7563826b6bb7c201490e864633">&#9670;&nbsp;</a></span>GetFontNumber()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ATDATACORE_EXPORT StatusInt ATFontNumMap::GetFontNumber </td>
          <td>(</td>
          <td class="paramtype">UInt32 &amp;&#160;</td>
          <td class="paramname"><em>fontNum</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">ATFontCR&#160;</td>
          <td class="paramname"><em>font</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>addIfNotFound</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>查找给定字体的字号，可选的当字体不存在时加入表格 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">UInt32</td><td>&amp; fontNum </td></tr>
    <tr><td class="paramname">ATFontCR</td><td>font </td></tr>
    <tr><td class="paramname">bool</td><td>addIfNotFound </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ATDATACORE_EXPORT StatusInt</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/13 </dd></dl>

</div>
</div>
<a id="a7e0350c766fc99f68574957c129f1e22" name="a7e0350c766fc99f68574957c129f1e22"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7e0350c766fc99f68574957c129f1e22">&#9670;&nbsp;</a></span>GetFontP()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ATDATACORE_EXPORT ATFontP ATFontNumMap::GetFontP </td>
          <td>(</td>
          <td class="paramtype">UInt32&#160;</td>
          <td class="paramname"><em>fontNum</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>查找给定字号的字体，找不到时返回NULL </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">UInt32</td><td>fontNum </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ATDATACORE_EXPORT ATFontP</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/13 </dd></dl>

</div>
</div>
<a id="a9148ba01beef2604bacb0fda856923b4" name="a9148ba01beef2604bacb0fda856923b4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9148ba01beef2604bacb0fda856923b4">&#9670;&nbsp;</a></span>ResolveFont()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ATDATACORE_EXPORT ATFontR ATFontNumMap::ResolveFont </td>
          <td>(</td>
          <td class="paramtype">UInt32&#160;</td>
          <td class="paramname"><em>fontNum</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>查找给定字号的字体，找不到时返回默认字体 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">UInt32</td><td>fontNum </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ATDATACORE_EXPORT ATFontR</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/13 </dd></dl>

</div>
</div>
<a id="ae8e7f4d567a480856370890d94fa2ce9" name="ae8e7f4d567a480856370890d94fa2ce9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae8e7f4d567a480856370890d94fa2ce9">&#9670;&nbsp;</a></span>VisitFonts()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ATDATACORE_EXPORT bool ATFontNumMap::VisitFonts </td>
          <td>(</td>
          <td class="paramtype">ATFontVisitor &amp;&#160;</td>
          <td class="paramname"><em>visitor</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">ATFontFilter&#160;</td>
          <td class="paramname"><em>filter</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>访问表格中的所有字体 </p>
<dl class="section note"><dt>注解</dt><dd>visitor将作用到每一个字体上，当visitor返回true时将中止遍历并返回true，反之返回false</dd></dl>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">ATFontVisitor</td><td>&amp; visitor </td></tr>
    <tr><td class="paramname">ATFontFilter</td><td>filter </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ATDATACORE_EXPORT bool</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/13 </dd></dl>

</div>
</div>
<hr/>该结构体的文档由以下文件生成:<ul>
<li>D:/doxy/PublicAPI/ATDataCore/<a class="el" href="../../d3/dc2/_a_t_font_manager_8h_source.html">ATFontManager.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.3
</small></address>
</body>
</html>
